//
//  XmlDataSheetCPP.h
//  test_xml
//
//  Created by bean on 13/1/4.
//
//

#ifndef __test_xml__XmlDataSheetCPP__
#define __test_xml__XmlDataSheetCPP__

#include <iostream>

#endif /* defined(__test_xml__XmlDataSheetCPP__) */
class XmlDataSheetCPP
{
public:
    void* sheetDict;
    
    XmlDataSheetCPP(const char *sheetName);
    XmlDataSheetCPP();
    void printAllSheetName();
    
    
    int getSheetCount();
    
    int getColumnCount(const char* sheetName);
    const char* getColumnName(const char* sheetName, int col);
    
    int getRowCount(const char *sheetName);
    const char* getData(const char* sheetName, const char* colName, int row);
    const char* getData(const char* sheetName, int col, int row);
};
/*
 #pragma mark -
 #pragma 表單屬性
 
 - (void)setSheetName:(NSString*)name;
 - (NSString*)getSheetName;
 
 #pragma mark -
 #pragma 欄位屬性
 
 - (NSInteger)getColumnCount;
 
 - (void)addColumnWithColumnName:(NSString*)name;
 - (NSString*)getColumnWithIndex:(NSInteger)index;
 
 #pragma mark -
 #pragma 資料欄位
 
 - (NSInteger)createRow;
 - (void)addRowDataWithRowIndex:(NSInteger)rowIndex rowData:(NSString*)rowData;
 - (NSString*)getRowDataByColumnIndexWithRowIndex:(NSInteger)rowIndex columnIndex:(NSInteger)columnIndex;
 - (NSString*)getRowDataByColumnNameWithRowIndex:(NSInteger)rowIndex columnName:(NSString*)columnName;
 - (NSInteger)getRowCount;
 */